//
//  BuyHouseCell.m
//  YaDiuDiu
//
//  Created by 欧洪飞 on 2017/8/16.
//  Copyright © 2017年 jy. All rights reserved.
//

#import "BuyHouseCell.h"

#import "BuyHouseModel.h"
@implementation BuyHouseCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setModel:(BuyHouseModel *)model{
    _images.image = [UIImage imageNamed:model.images];
    _labName.text = model.title;
    _labDet.text = model.det;
    _labMJ.text = model.area;
    _labKM.text = model.km;
    _labTit1.text = model.lab1;
    _labTit2.text = model.lab2;
    _labPrice.text = model.danjia;
}

@end
